AtomicSet
(<DeviceId>, "<$Variable>",
<Value>)
Sets
the value of a variable in a particular device.
Parameters
<DeviceId>
The
device where the variable is declared.
<$Variable>
The
variable whose value has to be changed.
<Value>
The
value of the variable.
Remarks
- During this operation, the variable is automatically locked from external manipulations.
Example
AtomicSet(1, "$Count", 10)
- Sets the value of variable $Count to 10 in the
first
device.